﻿<%@ Page Language="C#" MasterPageFile="~/Admin/AdminMasterPage.master" AutoEventWireup="true" ValidateRequest="false"
    CodeFile="Maintenance.aspx.cs" Inherits="Admin_Maintenance" Title="Admin Page - Information Literacy Education" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register TagPrefix="uc" TagName="UpdateProgress" Src="~/UserControls/UpdateProgress.ascx" %>
<%@ Register TagPrefix="uc" TagName="ModalPopupMessage" Src="~/UserControls/ModalPopupMessage.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="Server">
    <uc:UpdateProgress ID="updateProgress" runat="server" />
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <uc:ModalPopupMessage ID="ModalPopupMessage" runat="server" />
            <h1>
                Maintenance Administration Page</h1>
            <br />
            <asp:Button ID="btnOpenGlobal" runat="server" Text="Application Wide Maintenance"
                Width="250" OnClick="btnOpenGlobal_Click" />&nbsp;&nbsp;
            <asp:Button ID="btnOpenClass" runat="server" Text="Class Popup Message" Width="220"
                OnClick="btnOpenClass_Click" />
            <br />
            <br />
            <asp:Panel ID="PanelMaintenance" runat="server" Visible="false">
                <h4>
                    Modify
                    <asp:Label ID="lblMeintenanceType" runat="server" />
                    Maintenance Message
                </h4>
                <table style="width: 500px;">
                    <tr>
                        <td class="tableLeftHeader" style="width: 160px;">
                            Maintenance Message :
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
                <FCKeditorV2:FCKeditor ID="txtMaintenance" runat="server" BasePath="~/fckeditor/"
                    ToolbarSet="ILE_Admin" HtmlEncodeOutput="false" Width="600" Height="300">
                </FCKeditorV2:FCKeditor>
                <table style="width: 500px;">
                    <tr>
                        <td class="tableLeftHeader" style="width: 160px;">
                            Is Enabled :
                        </td>
                        <td>
                            <asp:CheckBox ID="chkboxEnabled" runat="server" />
                        </td>
                    </tr>
                </table>
                <br />
                <br />
                <div style="width: 600px; text-align: center;">
                    <asp:Button ID="btnUpdate" runat="server" Text="Update" Width="300" OnClick="btnUpdate_Click" />
                </div>
            </asp:Panel>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
